import { title } from "process"
import React,{CSSProperties, FC} from "react"
type PropsType ={
    text:string
    desc:string
}
const QuestionInfo:FC<PropsType>=({text,desc})=>{
    return <div style={{textAlign:'center'}}>
        <h1>{title}</h1>
        <p>{desc}</p>
    </div>
}
export default QuestionInfo